# encoding: utf-8

def isPrime(n):
	for i in range(2, n):
		isPrime = True
		for j in range(2, i - 1):
			if i % j == 0:
				isPrime = False
				break
		if isPrime:
			print(i, end=' ')

isPrime(200)
	
		